package com.njust.dataobject;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class TrainParamExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TrainParamExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andJfgWarnIsNull() {
            addCriterion("jfg_warn is null");
            return (Criteria) this;
        }

        public Criteria andJfgWarnIsNotNull() {
            addCriterion("jfg_warn is not null");
            return (Criteria) this;
        }

        public Criteria andJfgWarnEqualTo(BigDecimal value) {
            addCriterion("jfg_warn =", value, "jfgWarn");
            return (Criteria) this;
        }

        public Criteria andJfgWarnNotEqualTo(BigDecimal value) {
            addCriterion("jfg_warn <>", value, "jfgWarn");
            return (Criteria) this;
        }

        public Criteria andJfgWarnGreaterThan(BigDecimal value) {
            addCriterion("jfg_warn >", value, "jfgWarn");
            return (Criteria) this;
        }

        public Criteria andJfgWarnGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("jfg_warn >=", value, "jfgWarn");
            return (Criteria) this;
        }

        public Criteria andJfgWarnLessThan(BigDecimal value) {
            addCriterion("jfg_warn <", value, "jfgWarn");
            return (Criteria) this;
        }

        public Criteria andJfgWarnLessThanOrEqualTo(BigDecimal value) {
            addCriterion("jfg_warn <=", value, "jfgWarn");
            return (Criteria) this;
        }

        public Criteria andJfgWarnIn(List<BigDecimal> values) {
            addCriterion("jfg_warn in", values, "jfgWarn");
            return (Criteria) this;
        }

        public Criteria andJfgWarnNotIn(List<BigDecimal> values) {
            addCriterion("jfg_warn not in", values, "jfgWarn");
            return (Criteria) this;
        }

        public Criteria andJfgWarnBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("jfg_warn between", value1, value2, "jfgWarn");
            return (Criteria) this;
        }

        public Criteria andJfgWarnNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("jfg_warn not between", value1, value2, "jfgWarn");
            return (Criteria) this;
        }

        public Criteria andJfgAlarmIsNull() {
            addCriterion("jfg_alarm is null");
            return (Criteria) this;
        }

        public Criteria andJfgAlarmIsNotNull() {
            addCriterion("jfg_alarm is not null");
            return (Criteria) this;
        }

        public Criteria andJfgAlarmEqualTo(BigDecimal value) {
            addCriterion("jfg_alarm =", value, "jfgAlarm");
            return (Criteria) this;
        }

        public Criteria andJfgAlarmNotEqualTo(BigDecimal value) {
            addCriterion("jfg_alarm <>", value, "jfgAlarm");
            return (Criteria) this;
        }

        public Criteria andJfgAlarmGreaterThan(BigDecimal value) {
            addCriterion("jfg_alarm >", value, "jfgAlarm");
            return (Criteria) this;
        }

        public Criteria andJfgAlarmGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("jfg_alarm >=", value, "jfgAlarm");
            return (Criteria) this;
        }

        public Criteria andJfgAlarmLessThan(BigDecimal value) {
            addCriterion("jfg_alarm <", value, "jfgAlarm");
            return (Criteria) this;
        }

        public Criteria andJfgAlarmLessThanOrEqualTo(BigDecimal value) {
            addCriterion("jfg_alarm <=", value, "jfgAlarm");
            return (Criteria) this;
        }

        public Criteria andJfgAlarmIn(List<BigDecimal> values) {
            addCriterion("jfg_alarm in", values, "jfgAlarm");
            return (Criteria) this;
        }

        public Criteria andJfgAlarmNotIn(List<BigDecimal> values) {
            addCriterion("jfg_alarm not in", values, "jfgAlarm");
            return (Criteria) this;
        }

        public Criteria andJfgAlarmBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("jfg_alarm between", value1, value2, "jfgAlarm");
            return (Criteria) this;
        }

        public Criteria andJfgAlarmNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("jfg_alarm not between", value1, value2, "jfgAlarm");
            return (Criteria) this;
        }

        public Criteria andFzWarnIsNull() {
            addCriterion("fz_warn is null");
            return (Criteria) this;
        }

        public Criteria andFzWarnIsNotNull() {
            addCriterion("fz_warn is not null");
            return (Criteria) this;
        }

        public Criteria andFzWarnEqualTo(BigDecimal value) {
            addCriterion("fz_warn =", value, "fzWarn");
            return (Criteria) this;
        }

        public Criteria andFzWarnNotEqualTo(BigDecimal value) {
            addCriterion("fz_warn <>", value, "fzWarn");
            return (Criteria) this;
        }

        public Criteria andFzWarnGreaterThan(BigDecimal value) {
            addCriterion("fz_warn >", value, "fzWarn");
            return (Criteria) this;
        }

        public Criteria andFzWarnGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("fz_warn >=", value, "fzWarn");
            return (Criteria) this;
        }

        public Criteria andFzWarnLessThan(BigDecimal value) {
            addCriterion("fz_warn <", value, "fzWarn");
            return (Criteria) this;
        }

        public Criteria andFzWarnLessThanOrEqualTo(BigDecimal value) {
            addCriterion("fz_warn <=", value, "fzWarn");
            return (Criteria) this;
        }

        public Criteria andFzWarnIn(List<BigDecimal> values) {
            addCriterion("fz_warn in", values, "fzWarn");
            return (Criteria) this;
        }

        public Criteria andFzWarnNotIn(List<BigDecimal> values) {
            addCriterion("fz_warn not in", values, "fzWarn");
            return (Criteria) this;
        }

        public Criteria andFzWarnBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("fz_warn between", value1, value2, "fzWarn");
            return (Criteria) this;
        }

        public Criteria andFzWarnNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("fz_warn not between", value1, value2, "fzWarn");
            return (Criteria) this;
        }

        public Criteria andFzAlarmIsNull() {
            addCriterion("fz_alarm is null");
            return (Criteria) this;
        }

        public Criteria andFzAlarmIsNotNull() {
            addCriterion("fz_alarm is not null");
            return (Criteria) this;
        }

        public Criteria andFzAlarmEqualTo(BigDecimal value) {
            addCriterion("fz_alarm =", value, "fzAlarm");
            return (Criteria) this;
        }

        public Criteria andFzAlarmNotEqualTo(BigDecimal value) {
            addCriterion("fz_alarm <>", value, "fzAlarm");
            return (Criteria) this;
        }

        public Criteria andFzAlarmGreaterThan(BigDecimal value) {
            addCriterion("fz_alarm >", value, "fzAlarm");
            return (Criteria) this;
        }

        public Criteria andFzAlarmGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("fz_alarm >=", value, "fzAlarm");
            return (Criteria) this;
        }

        public Criteria andFzAlarmLessThan(BigDecimal value) {
            addCriterion("fz_alarm <", value, "fzAlarm");
            return (Criteria) this;
        }

        public Criteria andFzAlarmLessThanOrEqualTo(BigDecimal value) {
            addCriterion("fz_alarm <=", value, "fzAlarm");
            return (Criteria) this;
        }

        public Criteria andFzAlarmIn(List<BigDecimal> values) {
            addCriterion("fz_alarm in", values, "fzAlarm");
            return (Criteria) this;
        }

        public Criteria andFzAlarmNotIn(List<BigDecimal> values) {
            addCriterion("fz_alarm not in", values, "fzAlarm");
            return (Criteria) this;
        }

        public Criteria andFzAlarmBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("fz_alarm between", value1, value2, "fzAlarm");
            return (Criteria) this;
        }

        public Criteria andFzAlarmNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("fz_alarm not between", value1, value2, "fzAlarm");
            return (Criteria) this;
        }

        public Criteria andFzyzWarnIsNull() {
            addCriterion("fzyz_warn is null");
            return (Criteria) this;
        }

        public Criteria andFzyzWarnIsNotNull() {
            addCriterion("fzyz_warn is not null");
            return (Criteria) this;
        }

        public Criteria andFzyzWarnEqualTo(BigDecimal value) {
            addCriterion("fzyz_warn =", value, "fzyzWarn");
            return (Criteria) this;
        }

        public Criteria andFzyzWarnNotEqualTo(BigDecimal value) {
            addCriterion("fzyz_warn <>", value, "fzyzWarn");
            return (Criteria) this;
        }

        public Criteria andFzyzWarnGreaterThan(BigDecimal value) {
            addCriterion("fzyz_warn >", value, "fzyzWarn");
            return (Criteria) this;
        }

        public Criteria andFzyzWarnGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("fzyz_warn >=", value, "fzyzWarn");
            return (Criteria) this;
        }

        public Criteria andFzyzWarnLessThan(BigDecimal value) {
            addCriterion("fzyz_warn <", value, "fzyzWarn");
            return (Criteria) this;
        }

        public Criteria andFzyzWarnLessThanOrEqualTo(BigDecimal value) {
            addCriterion("fzyz_warn <=", value, "fzyzWarn");
            return (Criteria) this;
        }

        public Criteria andFzyzWarnIn(List<BigDecimal> values) {
            addCriterion("fzyz_warn in", values, "fzyzWarn");
            return (Criteria) this;
        }

        public Criteria andFzyzWarnNotIn(List<BigDecimal> values) {
            addCriterion("fzyz_warn not in", values, "fzyzWarn");
            return (Criteria) this;
        }

        public Criteria andFzyzWarnBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("fzyz_warn between", value1, value2, "fzyzWarn");
            return (Criteria) this;
        }

        public Criteria andFzyzWarnNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("fzyz_warn not between", value1, value2, "fzyzWarn");
            return (Criteria) this;
        }

        public Criteria andFzyzAlarmIsNull() {
            addCriterion("fzyz_alarm is null");
            return (Criteria) this;
        }

        public Criteria andFzyzAlarmIsNotNull() {
            addCriterion("fzyz_alarm is not null");
            return (Criteria) this;
        }

        public Criteria andFzyzAlarmEqualTo(BigDecimal value) {
            addCriterion("fzyz_alarm =", value, "fzyzAlarm");
            return (Criteria) this;
        }

        public Criteria andFzyzAlarmNotEqualTo(BigDecimal value) {
            addCriterion("fzyz_alarm <>", value, "fzyzAlarm");
            return (Criteria) this;
        }

        public Criteria andFzyzAlarmGreaterThan(BigDecimal value) {
            addCriterion("fzyz_alarm >", value, "fzyzAlarm");
            return (Criteria) this;
        }

        public Criteria andFzyzAlarmGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("fzyz_alarm >=", value, "fzyzAlarm");
            return (Criteria) this;
        }

        public Criteria andFzyzAlarmLessThan(BigDecimal value) {
            addCriterion("fzyz_alarm <", value, "fzyzAlarm");
            return (Criteria) this;
        }

        public Criteria andFzyzAlarmLessThanOrEqualTo(BigDecimal value) {
            addCriterion("fzyz_alarm <=", value, "fzyzAlarm");
            return (Criteria) this;
        }

        public Criteria andFzyzAlarmIn(List<BigDecimal> values) {
            addCriterion("fzyz_alarm in", values, "fzyzAlarm");
            return (Criteria) this;
        }

        public Criteria andFzyzAlarmNotIn(List<BigDecimal> values) {
            addCriterion("fzyz_alarm not in", values, "fzyzAlarm");
            return (Criteria) this;
        }

        public Criteria andFzyzAlarmBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("fzyz_alarm between", value1, value2, "fzyzAlarm");
            return (Criteria) this;
        }

        public Criteria andFzyzAlarmNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("fzyz_alarm not between", value1, value2, "fzyzAlarm");
            return (Criteria) this;
        }

        public Criteria andQdWarnIsNull() {
            addCriterion("qd_warn is null");
            return (Criteria) this;
        }

        public Criteria andQdWarnIsNotNull() {
            addCriterion("qd_warn is not null");
            return (Criteria) this;
        }

        public Criteria andQdWarnEqualTo(BigDecimal value) {
            addCriterion("qd_warn =", value, "qdWarn");
            return (Criteria) this;
        }

        public Criteria andQdWarnNotEqualTo(BigDecimal value) {
            addCriterion("qd_warn <>", value, "qdWarn");
            return (Criteria) this;
        }

        public Criteria andQdWarnGreaterThan(BigDecimal value) {
            addCriterion("qd_warn >", value, "qdWarn");
            return (Criteria) this;
        }

        public Criteria andQdWarnGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("qd_warn >=", value, "qdWarn");
            return (Criteria) this;
        }

        public Criteria andQdWarnLessThan(BigDecimal value) {
            addCriterion("qd_warn <", value, "qdWarn");
            return (Criteria) this;
        }

        public Criteria andQdWarnLessThanOrEqualTo(BigDecimal value) {
            addCriterion("qd_warn <=", value, "qdWarn");
            return (Criteria) this;
        }

        public Criteria andQdWarnIn(List<BigDecimal> values) {
            addCriterion("qd_warn in", values, "qdWarn");
            return (Criteria) this;
        }

        public Criteria andQdWarnNotIn(List<BigDecimal> values) {
            addCriterion("qd_warn not in", values, "qdWarn");
            return (Criteria) this;
        }

        public Criteria andQdWarnBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("qd_warn between", value1, value2, "qdWarn");
            return (Criteria) this;
        }

        public Criteria andQdWarnNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("qd_warn not between", value1, value2, "qdWarn");
            return (Criteria) this;
        }

        public Criteria andQdAlarmIsNull() {
            addCriterion("qd_alarm is null");
            return (Criteria) this;
        }

        public Criteria andQdAlarmIsNotNull() {
            addCriterion("qd_alarm is not null");
            return (Criteria) this;
        }

        public Criteria andQdAlarmEqualTo(BigDecimal value) {
            addCriterion("qd_alarm =", value, "qdAlarm");
            return (Criteria) this;
        }

        public Criteria andQdAlarmNotEqualTo(BigDecimal value) {
            addCriterion("qd_alarm <>", value, "qdAlarm");
            return (Criteria) this;
        }

        public Criteria andQdAlarmGreaterThan(BigDecimal value) {
            addCriterion("qd_alarm >", value, "qdAlarm");
            return (Criteria) this;
        }

        public Criteria andQdAlarmGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("qd_alarm >=", value, "qdAlarm");
            return (Criteria) this;
        }

        public Criteria andQdAlarmLessThan(BigDecimal value) {
            addCriterion("qd_alarm <", value, "qdAlarm");
            return (Criteria) this;
        }

        public Criteria andQdAlarmLessThanOrEqualTo(BigDecimal value) {
            addCriterion("qd_alarm <=", value, "qdAlarm");
            return (Criteria) this;
        }

        public Criteria andQdAlarmIn(List<BigDecimal> values) {
            addCriterion("qd_alarm in", values, "qdAlarm");
            return (Criteria) this;
        }

        public Criteria andQdAlarmNotIn(List<BigDecimal> values) {
            addCriterion("qd_alarm not in", values, "qdAlarm");
            return (Criteria) this;
        }

        public Criteria andQdAlarmBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("qd_alarm between", value1, value2, "qdAlarm");
            return (Criteria) this;
        }

        public Criteria andQdAlarmNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("qd_alarm not between", value1, value2, "qdAlarm");
            return (Criteria) this;
        }

        public Criteria andQdyzWarnIsNull() {
            addCriterion("qdyz_warn is null");
            return (Criteria) this;
        }

        public Criteria andQdyzWarnIsNotNull() {
            addCriterion("qdyz_warn is not null");
            return (Criteria) this;
        }

        public Criteria andQdyzWarnEqualTo(BigDecimal value) {
            addCriterion("qdyz_warn =", value, "qdyzWarn");
            return (Criteria) this;
        }

        public Criteria andQdyzWarnNotEqualTo(BigDecimal value) {
            addCriterion("qdyz_warn <>", value, "qdyzWarn");
            return (Criteria) this;
        }

        public Criteria andQdyzWarnGreaterThan(BigDecimal value) {
            addCriterion("qdyz_warn >", value, "qdyzWarn");
            return (Criteria) this;
        }

        public Criteria andQdyzWarnGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("qdyz_warn >=", value, "qdyzWarn");
            return (Criteria) this;
        }

        public Criteria andQdyzWarnLessThan(BigDecimal value) {
            addCriterion("qdyz_warn <", value, "qdyzWarn");
            return (Criteria) this;
        }

        public Criteria andQdyzWarnLessThanOrEqualTo(BigDecimal value) {
            addCriterion("qdyz_warn <=", value, "qdyzWarn");
            return (Criteria) this;
        }

        public Criteria andQdyzWarnIn(List<BigDecimal> values) {
            addCriterion("qdyz_warn in", values, "qdyzWarn");
            return (Criteria) this;
        }

        public Criteria andQdyzWarnNotIn(List<BigDecimal> values) {
            addCriterion("qdyz_warn not in", values, "qdyzWarn");
            return (Criteria) this;
        }

        public Criteria andQdyzWarnBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("qdyz_warn between", value1, value2, "qdyzWarn");
            return (Criteria) this;
        }

        public Criteria andQdyzWarnNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("qdyz_warn not between", value1, value2, "qdyzWarn");
            return (Criteria) this;
        }

        public Criteria andQdyzAlarmIsNull() {
            addCriterion("qdyz_alarm is null");
            return (Criteria) this;
        }

        public Criteria andQdyzAlarmIsNotNull() {
            addCriterion("qdyz_alarm is not null");
            return (Criteria) this;
        }

        public Criteria andQdyzAlarmEqualTo(BigDecimal value) {
            addCriterion("qdyz_alarm =", value, "qdyzAlarm");
            return (Criteria) this;
        }

        public Criteria andQdyzAlarmNotEqualTo(BigDecimal value) {
            addCriterion("qdyz_alarm <>", value, "qdyzAlarm");
            return (Criteria) this;
        }

        public Criteria andQdyzAlarmGreaterThan(BigDecimal value) {
            addCriterion("qdyz_alarm >", value, "qdyzAlarm");
            return (Criteria) this;
        }

        public Criteria andQdyzAlarmGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("qdyz_alarm >=", value, "qdyzAlarm");
            return (Criteria) this;
        }

        public Criteria andQdyzAlarmLessThan(BigDecimal value) {
            addCriterion("qdyz_alarm <", value, "qdyzAlarm");
            return (Criteria) this;
        }

        public Criteria andQdyzAlarmLessThanOrEqualTo(BigDecimal value) {
            addCriterion("qdyz_alarm <=", value, "qdyzAlarm");
            return (Criteria) this;
        }

        public Criteria andQdyzAlarmIn(List<BigDecimal> values) {
            addCriterion("qdyz_alarm in", values, "qdyzAlarm");
            return (Criteria) this;
        }

        public Criteria andQdyzAlarmNotIn(List<BigDecimal> values) {
            addCriterion("qdyz_alarm not in", values, "qdyzAlarm");
            return (Criteria) this;
        }

        public Criteria andQdyzAlarmBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("qdyz_alarm between", value1, value2, "qdyzAlarm");
            return (Criteria) this;
        }

        public Criteria andQdyzAlarmNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("qdyz_alarm not between", value1, value2, "qdyzAlarm");
            return (Criteria) this;
        }

        public Criteria andZwWarnIsNull() {
            addCriterion("zw_warn is null");
            return (Criteria) this;
        }

        public Criteria andZwWarnIsNotNull() {
            addCriterion("zw_warn is not null");
            return (Criteria) this;
        }

        public Criteria andZwWarnEqualTo(BigDecimal value) {
            addCriterion("zw_warn =", value, "zwWarn");
            return (Criteria) this;
        }

        public Criteria andZwWarnNotEqualTo(BigDecimal value) {
            addCriterion("zw_warn <>", value, "zwWarn");
            return (Criteria) this;
        }

        public Criteria andZwWarnGreaterThan(BigDecimal value) {
            addCriterion("zw_warn >", value, "zwWarn");
            return (Criteria) this;
        }

        public Criteria andZwWarnGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("zw_warn >=", value, "zwWarn");
            return (Criteria) this;
        }

        public Criteria andZwWarnLessThan(BigDecimal value) {
            addCriterion("zw_warn <", value, "zwWarn");
            return (Criteria) this;
        }

        public Criteria andZwWarnLessThanOrEqualTo(BigDecimal value) {
            addCriterion("zw_warn <=", value, "zwWarn");
            return (Criteria) this;
        }

        public Criteria andZwWarnIn(List<BigDecimal> values) {
            addCriterion("zw_warn in", values, "zwWarn");
            return (Criteria) this;
        }

        public Criteria andZwWarnNotIn(List<BigDecimal> values) {
            addCriterion("zw_warn not in", values, "zwWarn");
            return (Criteria) this;
        }

        public Criteria andZwWarnBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("zw_warn between", value1, value2, "zwWarn");
            return (Criteria) this;
        }

        public Criteria andZwWarnNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("zw_warn not between", value1, value2, "zwWarn");
            return (Criteria) this;
        }

        public Criteria andZwAlarmIsNull() {
            addCriterion("zw_alarm is null");
            return (Criteria) this;
        }

        public Criteria andZwAlarmIsNotNull() {
            addCriterion("zw_alarm is not null");
            return (Criteria) this;
        }

        public Criteria andZwAlarmEqualTo(BigDecimal value) {
            addCriterion("zw_alarm =", value, "zwAlarm");
            return (Criteria) this;
        }

        public Criteria andZwAlarmNotEqualTo(BigDecimal value) {
            addCriterion("zw_alarm <>", value, "zwAlarm");
            return (Criteria) this;
        }

        public Criteria andZwAlarmGreaterThan(BigDecimal value) {
            addCriterion("zw_alarm >", value, "zwAlarm");
            return (Criteria) this;
        }

        public Criteria andZwAlarmGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("zw_alarm >=", value, "zwAlarm");
            return (Criteria) this;
        }

        public Criteria andZwAlarmLessThan(BigDecimal value) {
            addCriterion("zw_alarm <", value, "zwAlarm");
            return (Criteria) this;
        }

        public Criteria andZwAlarmLessThanOrEqualTo(BigDecimal value) {
            addCriterion("zw_alarm <=", value, "zwAlarm");
            return (Criteria) this;
        }

        public Criteria andZwAlarmIn(List<BigDecimal> values) {
            addCriterion("zw_alarm in", values, "zwAlarm");
            return (Criteria) this;
        }

        public Criteria andZwAlarmNotIn(List<BigDecimal> values) {
            addCriterion("zw_alarm not in", values, "zwAlarm");
            return (Criteria) this;
        }

        public Criteria andZwAlarmBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("zw_alarm between", value1, value2, "zwAlarm");
            return (Criteria) this;
        }

        public Criteria andZwAlarmNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("zw_alarm not between", value1, value2, "zwAlarm");
            return (Criteria) this;
        }

        public Criteria andMotortempWarnIsNull() {
            addCriterion("motortemp_warn is null");
            return (Criteria) this;
        }

        public Criteria andMotortempWarnIsNotNull() {
            addCriterion("motortemp_warn is not null");
            return (Criteria) this;
        }

        public Criteria andMotortempWarnEqualTo(BigDecimal value) {
            addCriterion("motortemp_warn =", value, "motortempWarn");
            return (Criteria) this;
        }

        public Criteria andMotortempWarnNotEqualTo(BigDecimal value) {
            addCriterion("motortemp_warn <>", value, "motortempWarn");
            return (Criteria) this;
        }

        public Criteria andMotortempWarnGreaterThan(BigDecimal value) {
            addCriterion("motortemp_warn >", value, "motortempWarn");
            return (Criteria) this;
        }

        public Criteria andMotortempWarnGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("motortemp_warn >=", value, "motortempWarn");
            return (Criteria) this;
        }

        public Criteria andMotortempWarnLessThan(BigDecimal value) {
            addCriterion("motortemp_warn <", value, "motortempWarn");
            return (Criteria) this;
        }

        public Criteria andMotortempWarnLessThanOrEqualTo(BigDecimal value) {
            addCriterion("motortemp_warn <=", value, "motortempWarn");
            return (Criteria) this;
        }

        public Criteria andMotortempWarnIn(List<BigDecimal> values) {
            addCriterion("motortemp_warn in", values, "motortempWarn");
            return (Criteria) this;
        }

        public Criteria andMotortempWarnNotIn(List<BigDecimal> values) {
            addCriterion("motortemp_warn not in", values, "motortempWarn");
            return (Criteria) this;
        }

        public Criteria andMotortempWarnBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("motortemp_warn between", value1, value2, "motortempWarn");
            return (Criteria) this;
        }

        public Criteria andMotortempWarnNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("motortemp_warn not between", value1, value2, "motortempWarn");
            return (Criteria) this;
        }

        public Criteria andMotortempAlarmIsNull() {
            addCriterion("motortemp_alarm is null");
            return (Criteria) this;
        }

        public Criteria andMotortempAlarmIsNotNull() {
            addCriterion("motortemp_alarm is not null");
            return (Criteria) this;
        }

        public Criteria andMotortempAlarmEqualTo(BigDecimal value) {
            addCriterion("motortemp_alarm =", value, "motortempAlarm");
            return (Criteria) this;
        }

        public Criteria andMotortempAlarmNotEqualTo(BigDecimal value) {
            addCriterion("motortemp_alarm <>", value, "motortempAlarm");
            return (Criteria) this;
        }

        public Criteria andMotortempAlarmGreaterThan(BigDecimal value) {
            addCriterion("motortemp_alarm >", value, "motortempAlarm");
            return (Criteria) this;
        }

        public Criteria andMotortempAlarmGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("motortemp_alarm >=", value, "motortempAlarm");
            return (Criteria) this;
        }

        public Criteria andMotortempAlarmLessThan(BigDecimal value) {
            addCriterion("motortemp_alarm <", value, "motortempAlarm");
            return (Criteria) this;
        }

        public Criteria andMotortempAlarmLessThanOrEqualTo(BigDecimal value) {
            addCriterion("motortemp_alarm <=", value, "motortempAlarm");
            return (Criteria) this;
        }

        public Criteria andMotortempAlarmIn(List<BigDecimal> values) {
            addCriterion("motortemp_alarm in", values, "motortempAlarm");
            return (Criteria) this;
        }

        public Criteria andMotortempAlarmNotIn(List<BigDecimal> values) {
            addCriterion("motortemp_alarm not in", values, "motortempAlarm");
            return (Criteria) this;
        }

        public Criteria andMotortempAlarmBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("motortemp_alarm between", value1, value2, "motortempAlarm");
            return (Criteria) this;
        }

        public Criteria andMotortempAlarmNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("motortemp_alarm not between", value1, value2, "motortempAlarm");
            return (Criteria) this;
        }

        public Criteria andZwincWarnIsNull() {
            addCriterion("zwinc_warn is null");
            return (Criteria) this;
        }

        public Criteria andZwincWarnIsNotNull() {
            addCriterion("zwinc_warn is not null");
            return (Criteria) this;
        }

        public Criteria andZwincWarnEqualTo(BigDecimal value) {
            addCriterion("zwinc_warn =", value, "zwincWarn");
            return (Criteria) this;
        }

        public Criteria andZwincWarnNotEqualTo(BigDecimal value) {
            addCriterion("zwinc_warn <>", value, "zwincWarn");
            return (Criteria) this;
        }

        public Criteria andZwincWarnGreaterThan(BigDecimal value) {
            addCriterion("zwinc_warn >", value, "zwincWarn");
            return (Criteria) this;
        }

        public Criteria andZwincWarnGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("zwinc_warn >=", value, "zwincWarn");
            return (Criteria) this;
        }

        public Criteria andZwincWarnLessThan(BigDecimal value) {
            addCriterion("zwinc_warn <", value, "zwincWarn");
            return (Criteria) this;
        }

        public Criteria andZwincWarnLessThanOrEqualTo(BigDecimal value) {
            addCriterion("zwinc_warn <=", value, "zwincWarn");
            return (Criteria) this;
        }

        public Criteria andZwincWarnIn(List<BigDecimal> values) {
            addCriterion("zwinc_warn in", values, "zwincWarn");
            return (Criteria) this;
        }

        public Criteria andZwincWarnNotIn(List<BigDecimal> values) {
            addCriterion("zwinc_warn not in", values, "zwincWarn");
            return (Criteria) this;
        }

        public Criteria andZwincWarnBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("zwinc_warn between", value1, value2, "zwincWarn");
            return (Criteria) this;
        }

        public Criteria andZwincWarnNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("zwinc_warn not between", value1, value2, "zwincWarn");
            return (Criteria) this;
        }

        public Criteria andZwincAlarmIsNull() {
            addCriterion("zwinc_alarm is null");
            return (Criteria) this;
        }

        public Criteria andZwincAlarmIsNotNull() {
            addCriterion("zwinc_alarm is not null");
            return (Criteria) this;
        }

        public Criteria andZwincAlarmEqualTo(BigDecimal value) {
            addCriterion("zwinc_alarm =", value, "zwincAlarm");
            return (Criteria) this;
        }

        public Criteria andZwincAlarmNotEqualTo(BigDecimal value) {
            addCriterion("zwinc_alarm <>", value, "zwincAlarm");
            return (Criteria) this;
        }

        public Criteria andZwincAlarmGreaterThan(BigDecimal value) {
            addCriterion("zwinc_alarm >", value, "zwincAlarm");
            return (Criteria) this;
        }

        public Criteria andZwincAlarmGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("zwinc_alarm >=", value, "zwincAlarm");
            return (Criteria) this;
        }

        public Criteria andZwincAlarmLessThan(BigDecimal value) {
            addCriterion("zwinc_alarm <", value, "zwincAlarm");
            return (Criteria) this;
        }

        public Criteria andZwincAlarmLessThanOrEqualTo(BigDecimal value) {
            addCriterion("zwinc_alarm <=", value, "zwincAlarm");
            return (Criteria) this;
        }

        public Criteria andZwincAlarmIn(List<BigDecimal> values) {
            addCriterion("zwinc_alarm in", values, "zwincAlarm");
            return (Criteria) this;
        }

        public Criteria andZwincAlarmNotIn(List<BigDecimal> values) {
            addCriterion("zwinc_alarm not in", values, "zwincAlarm");
            return (Criteria) this;
        }

        public Criteria andZwincAlarmBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("zwinc_alarm between", value1, value2, "zwincAlarm");
            return (Criteria) this;
        }

        public Criteria andZwincAlarmNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("zwinc_alarm not between", value1, value2, "zwincAlarm");
            return (Criteria) this;
        }

        public Criteria andMotortempincWarnIsNull() {
            addCriterion("motortempinc_warn is null");
            return (Criteria) this;
        }

        public Criteria andMotortempincWarnIsNotNull() {
            addCriterion("motortempinc_warn is not null");
            return (Criteria) this;
        }

        public Criteria andMotortempincWarnEqualTo(BigDecimal value) {
            addCriterion("motortempinc_warn =", value, "motortempincWarn");
            return (Criteria) this;
        }

        public Criteria andMotortempincWarnNotEqualTo(BigDecimal value) {
            addCriterion("motortempinc_warn <>", value, "motortempincWarn");
            return (Criteria) this;
        }

        public Criteria andMotortempincWarnGreaterThan(BigDecimal value) {
            addCriterion("motortempinc_warn >", value, "motortempincWarn");
            return (Criteria) this;
        }

        public Criteria andMotortempincWarnGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("motortempinc_warn >=", value, "motortempincWarn");
            return (Criteria) this;
        }

        public Criteria andMotortempincWarnLessThan(BigDecimal value) {
            addCriterion("motortempinc_warn <", value, "motortempincWarn");
            return (Criteria) this;
        }

        public Criteria andMotortempincWarnLessThanOrEqualTo(BigDecimal value) {
            addCriterion("motortempinc_warn <=", value, "motortempincWarn");
            return (Criteria) this;
        }

        public Criteria andMotortempincWarnIn(List<BigDecimal> values) {
            addCriterion("motortempinc_warn in", values, "motortempincWarn");
            return (Criteria) this;
        }

        public Criteria andMotortempincWarnNotIn(List<BigDecimal> values) {
            addCriterion("motortempinc_warn not in", values, "motortempincWarn");
            return (Criteria) this;
        }

        public Criteria andMotortempincWarnBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("motortempinc_warn between", value1, value2, "motortempincWarn");
            return (Criteria) this;
        }

        public Criteria andMotortempincWarnNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("motortempinc_warn not between", value1, value2, "motortempincWarn");
            return (Criteria) this;
        }

        public Criteria andMotortempincAlarmIsNull() {
            addCriterion("motortempinc_alarm is null");
            return (Criteria) this;
        }

        public Criteria andMotortempincAlarmIsNotNull() {
            addCriterion("motortempinc_alarm is not null");
            return (Criteria) this;
        }

        public Criteria andMotortempincAlarmEqualTo(BigDecimal value) {
            addCriterion("motortempinc_alarm =", value, "motortempincAlarm");
            return (Criteria) this;
        }

        public Criteria andMotortempincAlarmNotEqualTo(BigDecimal value) {
            addCriterion("motortempinc_alarm <>", value, "motortempincAlarm");
            return (Criteria) this;
        }

        public Criteria andMotortempincAlarmGreaterThan(BigDecimal value) {
            addCriterion("motortempinc_alarm >", value, "motortempincAlarm");
            return (Criteria) this;
        }

        public Criteria andMotortempincAlarmGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("motortempinc_alarm >=", value, "motortempincAlarm");
            return (Criteria) this;
        }

        public Criteria andMotortempincAlarmLessThan(BigDecimal value) {
            addCriterion("motortempinc_alarm <", value, "motortempincAlarm");
            return (Criteria) this;
        }

        public Criteria andMotortempincAlarmLessThanOrEqualTo(BigDecimal value) {
            addCriterion("motortempinc_alarm <=", value, "motortempincAlarm");
            return (Criteria) this;
        }

        public Criteria andMotortempincAlarmIn(List<BigDecimal> values) {
            addCriterion("motortempinc_alarm in", values, "motortempincAlarm");
            return (Criteria) this;
        }

        public Criteria andMotortempincAlarmNotIn(List<BigDecimal> values) {
            addCriterion("motortempinc_alarm not in", values, "motortempincAlarm");
            return (Criteria) this;
        }

        public Criteria andMotortempincAlarmBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("motortempinc_alarm between", value1, value2, "motortempincAlarm");
            return (Criteria) this;
        }

        public Criteria andMotortempincAlarmNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("motortempinc_alarm not between", value1, value2, "motortempincAlarm");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}